package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * C端系统-订单分成明细
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_reward_order")
@ApiModel(value = "XhRewardOrder对象", description = "C端系统-订单分成明细")
public class XhRewardOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("业务类型1-电池租赁 2-换电服务")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("业务单号")
    private String orderNo;

    @ApiModelProperty("订单时间")
    private Date orderTime;

    @ApiModelProperty("订单金额")
    private BigDecimal money;

    @ApiModelProperty("分成比例")
    private BigDecimal rate;

    @ApiModelProperty("分成金额")
    private BigDecimal reward;

    @ApiModelProperty("备注说明")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
